package com.distribution.system.domain.dto;

import com.distribution.common.annotation.Excel;
import com.distribution.system.domain.req.Page;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author niejiandeng
 * @date 2023年05月21日 15:30
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AgentDTO extends Page {
    private Long userId;
    private Long roleId;
    /** 用户账号 */
    @Excel(name = "登录名称")
    private String userName;
    /** 用户昵称 */
    @Excel(name = "用户名称")
    private String nickName;
    /** 手机号码 */
    @Excel(name = "手机号码")
    private String phoneNumber;
    /** 用户性别 */
    @Excel(name = "用户性别", readConverterExp = "0=男,1=女,2=未知")
    private String sex;
    /** 密码 */
    private String password;

    private BigDecimal initialCommission;

    private BigDecimal commission;

    private String remark;

    private String searchValue;

    private Double supDeduct;

    private Long parentId;
    /**
     * 创建时间
     */
    private LocalDateTime beginTime;

    /**
     * 创建时间
     */
    private LocalDateTime endTime;

    private Integer agentStatus;

    private Integer agentLevel;
}
